package com.cw.jeeyt.dao.model.facade;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 接口参数Example
 *
 * @author chenw
 * @date 2019-10-31 22:35:52
 */
public class FacadeParamExample {
    /** 排序字段 */
    protected String orderByClause;

    /** 是否只查询记录不同的数据 */
    protected Boolean distinct;

    /** or条件查询集合 */
    protected List<Criteria> oredCriteria;

    /**
     * 初始化or条件查询集合
     */
    public FacadeParamExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 排序字段set方法
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * 排序字段get方法
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * 不同记录set方法.
     */
    public void setDistinct(Boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 不同记录get方法.
     */
    public Boolean isDistinct() {
        return distinct;
    }

    /**
     * 排序集合get方法
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * or
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * or
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 初始化标准规范
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 初始化标准规范
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除数据
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public Boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(Long value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(Long value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdIsNull() {
            addCriterion("facade_info_id is null");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdIsNotNull() {
            addCriterion("facade_info_id is not null");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdEqualTo(String value) {
            addCriterion("facade_info_id =", value, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdNotEqualTo(String value) {
            addCriterion("facade_info_id <>", value, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdGreaterThan(String value) {
            addCriterion("facade_info_id >", value, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdGreaterThanOrEqualTo(String value) {
            addCriterion("facade_info_id >=", value, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdLessThan(String value) {
            addCriterion("facade_info_id <", value, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdLessThanOrEqualTo(String value) {
            addCriterion("facade_info_id <=", value, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdLike(String value) {
            addCriterion("facade_info_id like", value, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdNotLike(String value) {
            addCriterion("facade_info_id not like", value, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdIn(List<String> values) {
            addCriterion("facade_info_id in", values, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdNotIn(List<String> values) {
            addCriterion("facade_info_id not in", values, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdBetween(String value1, String value2) {
            addCriterion("facade_info_id between", value1, value2, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andFacadeInfoIdNotBetween(String value1, String value2) {
            addCriterion("facade_info_id not between", value1, value2, "facadeInfoId");
            return (Criteria) this;
        }

        public Criteria andParamCodeIsNull() {
            addCriterion("param_code is null");
            return (Criteria) this;
        }

        public Criteria andParamCodeIsNotNull() {
            addCriterion("param_code is not null");
            return (Criteria) this;
        }

        public Criteria andParamCodeEqualTo(String value) {
            addCriterion("param_code =", value, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeNotEqualTo(String value) {
            addCriterion("param_code <>", value, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeGreaterThan(String value) {
            addCriterion("param_code >", value, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeGreaterThanOrEqualTo(String value) {
            addCriterion("param_code >=", value, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeLessThan(String value) {
            addCriterion("param_code <", value, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeLessThanOrEqualTo(String value) {
            addCriterion("param_code <=", value, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeLike(String value) {
            addCriterion("param_code like", value, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeNotLike(String value) {
            addCriterion("param_code not like", value, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeIn(List<String> values) {
            addCriterion("param_code in", values, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeNotIn(List<String> values) {
            addCriterion("param_code not in", values, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeBetween(String value1, String value2) {
            addCriterion("param_code between", value1, value2, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamCodeNotBetween(String value1, String value2) {
            addCriterion("param_code not between", value1, value2, "paramCode");
            return (Criteria) this;
        }

        public Criteria andParamNameIsNull() {
            addCriterion("param_name is null");
            return (Criteria) this;
        }

        public Criteria andParamNameIsNotNull() {
            addCriterion("param_name is not null");
            return (Criteria) this;
        }

        public Criteria andParamNameEqualTo(String value) {
            addCriterion("param_name =", value, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameNotEqualTo(String value) {
            addCriterion("param_name <>", value, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameGreaterThan(String value) {
            addCriterion("param_name >", value, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameGreaterThanOrEqualTo(String value) {
            addCriterion("param_name >=", value, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameLessThan(String value) {
            addCriterion("param_name <", value, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameLessThanOrEqualTo(String value) {
            addCriterion("param_name <=", value, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameLike(String value) {
            addCriterion("param_name like", value, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameNotLike(String value) {
            addCriterion("param_name not like", value, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameIn(List<String> values) {
            addCriterion("param_name in", values, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameNotIn(List<String> values) {
            addCriterion("param_name not in", values, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameBetween(String value1, String value2) {
            addCriterion("param_name between", value1, value2, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamNameNotBetween(String value1, String value2) {
            addCriterion("param_name not between", value1, value2, "paramName");
            return (Criteria) this;
        }

        public Criteria andParamTypeIsNull() {
            addCriterion("param_type is null");
            return (Criteria) this;
        }

        public Criteria andParamTypeIsNotNull() {
            addCriterion("param_type is not null");
            return (Criteria) this;
        }

        public Criteria andParamTypeEqualTo(String value) {
            addCriterion("param_type =", value, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeNotEqualTo(String value) {
            addCriterion("param_type <>", value, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeGreaterThan(String value) {
            addCriterion("param_type >", value, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeGreaterThanOrEqualTo(String value) {
            addCriterion("param_type >=", value, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeLessThan(String value) {
            addCriterion("param_type <", value, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeLessThanOrEqualTo(String value) {
            addCriterion("param_type <=", value, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeLike(String value) {
            addCriterion("param_type like", value, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeNotLike(String value) {
            addCriterion("param_type not like", value, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeIn(List<String> values) {
            addCriterion("param_type in", values, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeNotIn(List<String> values) {
            addCriterion("param_type not in", values, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeBetween(String value1, String value2) {
            addCriterion("param_type between", value1, value2, "paramType");
            return (Criteria) this;
        }

        public Criteria andParamTypeNotBetween(String value1, String value2) {
            addCriterion("param_type not between", value1, value2, "paramType");
            return (Criteria) this;
        }

        public Criteria andPublicParamIsNull() {
            addCriterion("public_param is null");
            return (Criteria) this;
        }

        public Criteria andPublicParamIsNotNull() {
            addCriterion("public_param is not null");
            return (Criteria) this;
        }

        public Criteria andPublicParamEqualTo(String value) {
            addCriterion("public_param =", value, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamNotEqualTo(String value) {
            addCriterion("public_param <>", value, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamGreaterThan(String value) {
            addCriterion("public_param >", value, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamGreaterThanOrEqualTo(String value) {
            addCriterion("public_param >=", value, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamLessThan(String value) {
            addCriterion("public_param <", value, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamLessThanOrEqualTo(String value) {
            addCriterion("public_param <=", value, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamLike(String value) {
            addCriterion("public_param like", value, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamNotLike(String value) {
            addCriterion("public_param not like", value, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamIn(List<String> values) {
            addCriterion("public_param in", values, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamNotIn(List<String> values) {
            addCriterion("public_param not in", values, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamBetween(String value1, String value2) {
            addCriterion("public_param between", value1, value2, "publicParam");
            return (Criteria) this;
        }

        public Criteria andPublicParamNotBetween(String value1, String value2) {
            addCriterion("public_param not between", value1, value2, "publicParam");
            return (Criteria) this;
        }

        public Criteria andParamCommentIsNull() {
            addCriterion("param_comment is null");
            return (Criteria) this;
        }

        public Criteria andParamCommentIsNotNull() {
            addCriterion("param_comment is not null");
            return (Criteria) this;
        }

        public Criteria andParamCommentEqualTo(String value) {
            addCriterion("param_comment =", value, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentNotEqualTo(String value) {
            addCriterion("param_comment <>", value, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentGreaterThan(String value) {
            addCriterion("param_comment >", value, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentGreaterThanOrEqualTo(String value) {
            addCriterion("param_comment >=", value, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentLessThan(String value) {
            addCriterion("param_comment <", value, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentLessThanOrEqualTo(String value) {
            addCriterion("param_comment <=", value, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentLike(String value) {
            addCriterion("param_comment like", value, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentNotLike(String value) {
            addCriterion("param_comment not like", value, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentIn(List<String> values) {
            addCriterion("param_comment in", values, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentNotIn(List<String> values) {
            addCriterion("param_comment not in", values, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentBetween(String value1, String value2) {
            addCriterion("param_comment between", value1, value2, "paramComment");
            return (Criteria) this;
        }

        public Criteria andParamCommentNotBetween(String value1, String value2) {
            addCriterion("param_comment not between", value1, value2, "paramComment");
            return (Criteria) this;
        }

        public Criteria andChildParamsIsNull() {
            addCriterion("child_params is null");
            return (Criteria) this;
        }

        public Criteria andChildParamsIsNotNull() {
            addCriterion("child_params is not null");
            return (Criteria) this;
        }

        public Criteria andChildParamsEqualTo(String value) {
            addCriterion("child_params =", value, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsNotEqualTo(String value) {
            addCriterion("child_params <>", value, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsGreaterThan(String value) {
            addCriterion("child_params >", value, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsGreaterThanOrEqualTo(String value) {
            addCriterion("child_params >=", value, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsLessThan(String value) {
            addCriterion("child_params <", value, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsLessThanOrEqualTo(String value) {
            addCriterion("child_params <=", value, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsLike(String value) {
            addCriterion("child_params like", value, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsNotLike(String value) {
            addCriterion("child_params not like", value, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsIn(List<String> values) {
            addCriterion("child_params in", values, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsNotIn(List<String> values) {
            addCriterion("child_params not in", values, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsBetween(String value1, String value2) {
            addCriterion("child_params between", value1, value2, "childParams");
            return (Criteria) this;
        }

        public Criteria andChildParamsNotBetween(String value1, String value2) {
            addCriterion("child_params not between", value1, value2, "childParams");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Long value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Long value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Long value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Long value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Long value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Long value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(Long value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(Long value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Long> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Long> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Long value1, Long value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Long value1, Long value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLike(Date value) {
            addCriterion("create_date like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotLike(Date value) {
            addCriterion("create_date not like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(Long value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(Long value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(Long value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(Long value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(Long value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(Long value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(Long value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(Long value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<Long> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<Long> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(Long value1, Long value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(Long value1, Long value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLike(Date value) {
            addCriterion("update_date like", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotLike(Date value) {
            addCriterion("update_date not like", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private Boolean noValue;

        private Boolean singleValue;

        private Boolean betweenValue;

        private Boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public Boolean isNoValue() {
            return noValue;
        }

        public Boolean isSingleValue() {
            return singleValue;
        }

        public Boolean isBetweenValue() {
            return betweenValue;
        }

        public Boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
